//
//  AnomalyShapeChangeView.h
//  测试
//
//  Created by admin on 2017/9/2.
//  Copyright © 2017年 DK. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface AnomalyShapeChangeView : UIView

@property (nonatomic, strong) NSMutableArray *points;

// 添加默认点
- (void)addInitialPoints:(NSArray *)points;
// 在特定位置添加点
- (void)addPointAt:(CGPoint)point;
// 获取页面上所有的点
- (NSMutableArray *)getAllPoints;
// 两点之间的距离
- (CGFloat)distanceFrom:(CGPoint)origin to:(CGPoint)destination;

@end
